package com.ruoyi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动程序
 *
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan({"com.ruoyi.*.mapper","com.etoppaas.*.mapper"})
@ComponentScan("com.ruoyi.*.*")
@ComponentScan("com.ruoyi.*.*.*")
@ComponentScan("com.etoppaas.*.*")
@ComponentScan("com.etoppaas.*.*.*")
public class RuoYiApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("  _____        _   _ _____            _____ _   _  _____\n" +
                " |  __ \\ /\\   | \\ | |  __ \\   /\\     |_   _| \\ | |/ ____|\n" +
                " | |__) /  \\  |  \\| | |  | | /  \\      | | |  \\| | (___\n" +
                " |  ___/ /\\ \\ | . ` | |  | |/ /\\ \\     | | | . ` |\\___ \\\n" +
                " | |  / ____ \\| |\\  | |__| / ____ \\ _ _| |_| |\\  |____) |\n" +
                " |_| /_/    \\_\\_| \\_|_____/_/    \\_(_)_____|_| \\_|_____/");
    }
}